import pprint

import requests


def test_res_json():
    r=requests.get("https://httpbin.ceshiren.com/get")
    pprint.pprint(r.json())
    assert r.status_code==200
    assert r.json()["headers"]["Host"] == "httpbin.ceshiren.com"
test_res_json()